# {{ ansible_managed }}

# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# These are defaults. This file just demonstrates how to override some settings.
bootstrap.servers={{ kafka_connect_bootstrap_servers }}

# The converters specify the format of data in Kafka and how to translate it into Connect data. Every Connect user will
# need to configure these based on the format they want their data in when loaded from or stored into Kafka
key.converter={{ kafka_connect_key_converter }}
value.converter={{ kafka_connect_value_converter }}
# Converter-specific settings can be passed in by prefixing the Converter's setting with the converter we want to apply
# it to
key.converter.schemas.enable={{ kafka_connect_key_converter_schemas_enable }}
value.converter.schemas.enable={{ kafka_connect_value_converter_schemas_enable }}

# The internal converter used for offsets and config data is configurable and must be specified, but most users will
# always want to use the built-in default. Offset and config data is never visible outside of Kafka Connect in this format.
internal.key.converter={{ kafka_connect_internal_key_converter }}
internal.value.converter={{ kafka_connect_internal_value_converter }}
internal.key.converter.schemas.enable={{ kafka_connect_internal_key_converter_schemas_enable }}
internal.value.converter.schemas.enable={{ kafka_connect_internal_value_converter_schemas_enable }}

offset.storage.file.filename={{ kafka_connect_offset_storage_file_filename }}
# Flush much faster than normal, which is useful for testing/debugging
offset.flush.interval.ms={{ kafka_connect_offset_flush_interval_ms }}

# Set to a list of filesystem paths separated by commas (,) to enable class loading isolation for plugins
# (connectors, converters, transformations). The list should consist of top level directories that include
# any combination of:
# a) directories immediately containing jars with plugins and their dependencies
# b) uber-jars with plugins and their dependencies
# c) directories immediately containing the package directory structure of classes of plugins and their dependencies
# Note: symlinks will be followed to discover dependencies or plugins.
# Examples:
# plugin.path=/usr/local/share/java,/usr/local/share/kafka/plugins,/opt/connectors,
plugin.path={{ kafka_connect_plugin_path }}
